#pragma once
#include "CEffectUnit.h"

BEGIN_WARE

class CParticleSystem : public CEffectUnit
{
public:
	CParticleSystem( IEffectUnitProp* pEffectUnitProp );
	~CParticleSystem(void);

	virtual void		CullVisibleObjects( IGraphic* pGraphic, ISceneNodeCamera* pCamera );
	virtual VBOOL		Update( IGraphic* pGraphic, const CMatrix4& MatParent, uint32 uTime );
	virtual VBOOL		Render( IGraphic* pGraphic, uint32 uTime );

	virtual VBOOL		Create( IResourceManager* pResMgr );
};

END_WARE
